package com.pengcheng.taskapplication.util;

import android.app.Activity;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.image.imagepicker.loader.ImageLoader;

/**
 * 图片挑选器的加载图片loader.
 */
public class ImagePickerLoader implements ImageLoader {


    @Override
    public void displayImage(Activity activity, String path, ImageView imageView, int width, int height, boolean isCrop) {
        Glide.with(activity).load(path).into(imageView);

    }

    @Override
    public void clearMemoryCache() {
    }
}
